package com.wanma.recuit.mapper;

import com.wanma.recuit.pojo.Resume;
import org.apache.ibatis.annotations.Param;

public interface ResumeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Resume record);

    int insertSelective(Resume record);

    Resume selectResumeByUserId(Integer userId);

    int updateByPrimaryKeySelective(Resume record);

    int updateByPrimaryKey(Resume record);

    void updateIntroduction(@Param("introduction") String introduction, @Param("userId") Integer userId);

    void updateUpdateTime(Integer id);

    Resume findResume(Integer id);
}